#ifndef RESERVATION_H
#define RESERVATION_H

#include <QWidget>
#include <QstandardItemmodel>
#include <QMessageBox>
#include "ty_res.h"

namespace Ui {
class reservation;
}

class reservation : public QWidget
{
    Q_OBJECT

public:
    explicit reservation(QWidget *parent = nullptr, int f = 2);
    ~reservation();
    void initpage(QString strCondition="");

private slots:


    void on_alter_clicked();

    void on_return_2_clicked();

    void on_lineEdit_textChanged(const QString &arg1);

private:
    int fla;
    Ui::reservation *ui;
    QStandardItemModel r_res;
};

#endif // RESERVATION_H
